#ifndef __AW_MULTI_PLANE_SCENARIO
#define __AW_MULTI_PLANE_SCENARIO

class AW_MPlaneScenario: public AW_Scenario {
public:
	AW_MPlaneScenario();
	AW_MPlaneScenario(FILE *fp);

	virtual ~AW_MPlaneScenario();

	virtual bool load(FILE *fp);
	virtual bool save(FILE *fp);

	virtual bool is_a(char *c);
	virtual bool is_a(Symbol *c);

	virtual void draw(void);

	int get_nplanes(void) {return nplanes;};
	Symbol *get_name(int nplane);
	float get_startx(int nplane) {return startx[nplane];};
	float get_startz(int nplane) {return startz[nplane];};
	float get_sizex(int nplane) {return sizex[nplane];};
	float get_sizez(int nplane) {return sizez[nplane];};

	int get_nbridges(void) {return nbridges;};
	Symbol *get_bname(int nbridge) {return bname[nbridge];};
	int get_bplanea(int i) {return bplanea[i];};
	int get_bplaneb(int i) {return bplaneb[i];};
	float get_bax(int i) {return bpax[i];};
	float get_baz(int i) {return bpaz[i];};
	float get_bbx(int i) {return bpbx[i];};
	float get_bbz(int i) {return bpbz[i];};

protected:
	int nplanes;
	float *startx,*startz;
	float *sizex,*sizez;
	float *r,*g,*b;
	Symbol **pname;

	int nbridges;
	int *bplanea,*bplaneb;
	float *bpax,*bpaz,*bpbx,*bpbz;
	float *bstartx,*bstartz;
	float *bsizex,*bsizez;
	float *br,*bg,*bb;
	Symbol **bname;

	FTFont* font;

};

#endif

